package org.jeecg.modules.demo.app.controller;

import lombok.Data;

@Data
public class Period {
    private String time;
    private int startHours;
    private String status;

    {

    }

    public Period() {

    }

    public Period(int startHours) {
        this.startHours = startHours;
        this.time = startHours + ":00-" + (startHours + 1) + ":00";
        this.status = "1";
    }

    public Period(String time, String status) {
        this.time = time;
        this.status = status;
    }
}
